import React, { Component } from 'react'
import { Modal } from 'antd';
export default class Index extends Component {
    render() {
        let {isModalVisible,handleOk,handleCancel,content}=this.props
        return (
            <Modal title="提示" visible={isModalVisible} onOk={handleOk} onCancel={handleCancel} cancelText="取消" okText="确认">
                <p>{content}</p>
            </Modal>
        )
    }
}
